/**
 * @description 基线项目入口文件
 */
import React, {Component} from 'react';
import ReactDOM from 'react-dom';
import {Router, Route, IndexRoute, hashHistory, IndexRedirect} from 'react-router';
import {QMFetch, QMConst} from 'qm-ux';
import QMRoute from 'QMRoute'
QMFetch.register(401, () => window.location.href = QMConst.HOST["v_sso_server"] + "/logout");

import AccountBind from "react-router-proxy?name=weixinOpen!./bind";

import '../style/index.less';

/**
 * @author
 */
ReactDOM.render((
    <QMRoute history={hashHistory}>
        <IndexRoute components={AccountBind}/>
    </QMRoute>
), document.getElementById("react-content"));